/*********************************************************************************
 * Zurmo is a customer relationship management program developed by
 * Zurmo, Inc. Copyright (C) 2013 Zurmo Inc.
 *
 * Zurmo is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY ZURMO, ZURMO DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 *
 * Zurmo is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 *
 * You can contact Zurmo, Inc. with a mailing address at 27 North Wacker Drive
 * Suite 370 Chicago, IL 60606. or at email address contact@zurmo.com.
 *
 * The interactive user interfaces in original and modified versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the Zurmo
 * logo and Zurmo copyright notice. If the display of the logo is not reasonably
 * feasible for technical reasons, the Appropriate Legal Notices must display the words
 * Copyright Zurmo Inc. 2013. All rights reserved.
 ********************************************************************************/
.border-box {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.cf:before,
.cf:after {
  content: " ";
  display: table;
}
.cf:after {
  clear: both;
}
.cf {
  *zoom: 1;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.flyout {
  border: 1px solid #b6b6b6;
  background-color: #ebebeb;
  background-repeat: repeat-x;
  background-image: -moz-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image: -ms-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f5f5f5), color-stop(100%, #ebebeb));
  background-image: -webkit-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image: -o-linear-gradient(top, #f5f5f5, #ebebeb);
  background-image: linear-gradient(top, #f5f5f5, #ebebeb);
  -webkit-box-shadow: inset 0 0 0 2px #ffffff,  0 0 9px 5px rgba(153, 153, 153, 0.12);
  -moz-box-shadow: inset 0 0 0 2px #ffffff,  0 0 9px 5px rgba(153, 153, 153, 0.12);
  -ms-box-shadow: inset 0 0 0 2px #ffffff,  0 0 9px 5px rgba(153, 153, 153, 0.12);
  -o-box-shadow: inset 0 0 0 2px #ffffff,  0 0 9px 5px rgba(153, 153, 153, 0.12);
  box-shadow: inset 0 0 0 2px #ffffff,  0 0 9px 5px rgba(153, 153, 153, 0.12);
  white-space: nowrap;
}
.modal-view-toolbar a,
.modal-view-toolbar input[type="submit"],
.modal-view-toolbar input[type="button"],
.form-toolbar a,
.form-toolbar input[type="submit"],
.form-toolbar input[type="button"],
.zButton,
.z-button,
a.zButton,
a.z-button,
.white-button {
  border-top: 1px solid rgba(200, 200, 200, 0.4);
  border-left: 1px solid rgba(185, 185, 185, 0.4);
  border-right: 1px solid rgba(185, 185, 185, 0.4);
  border-bottom: 1px solid rgba(170, 170, 170, 0.4);
  color: #666 !important;
  -webkit-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -moz-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -ms-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -o-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -webkit-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -moz-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -ms-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -o-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-indent: 0;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  *zoom: 1;
}
.modal-view-toolbar a:before,
.modal-view-toolbar input[type="submit"]:before,
.modal-view-toolbar input[type="button"]:before,
.form-toolbar a:before,
.form-toolbar input[type="submit"]:before,
.form-toolbar input[type="button"]:before,
.zButton:before,
.z-button:before,
a.zButton:before,
a.z-button:before,
.white-button:before,
.modal-view-toolbar a:after,
.modal-view-toolbar input[type="submit"]:after,
.modal-view-toolbar input[type="button"]:after,
.form-toolbar a:after,
.form-toolbar input[type="submit"]:after,
.form-toolbar input[type="button"]:after,
.zButton:after,
.z-button:after,
a.zButton:after,
a.z-button:after,
.white-button:after {
  content: " ";
  display: table;
}
.modal-view-toolbar a:after,
.modal-view-toolbar input[type="submit"]:after,
.modal-view-toolbar input[type="button"]:after,
.form-toolbar a:after,
.form-toolbar input[type="submit"]:after,
.form-toolbar input[type="button"]:after,
.zButton:after,
.z-button:after,
a.zButton:after,
a.z-button:after,
.white-button:after {
  clear: both;
}
.modal-view-toolbar a.attachLoading.z-button,
.modal-view-toolbar input[type="submit"].attachLoading.z-button,
.modal-view-toolbar input[type="button"].attachLoading.z-button,
.form-toolbar a.attachLoading.z-button,
.form-toolbar input[type="submit"].attachLoading.z-button,
.form-toolbar input[type="button"].attachLoading.z-button,
.zButton.attachLoading.z-button,
.z-button.attachLoading.z-button,
a.zButton.attachLoading.z-button,
a.z-button.attachLoading.z-button,
.white-button.attachLoading.z-button {
  color: #fff;
}
.modal-view-toolbar a:not(.attachLoading):not(.green-button) .z-label,
.modal-view-toolbar input[type="submit"]:not(.attachLoading):not(.green-button) .z-label,
.modal-view-toolbar input[type="button"]:not(.attachLoading):not(.green-button) .z-label,
.form-toolbar a:not(.attachLoading):not(.green-button) .z-label,
.form-toolbar input[type="submit"]:not(.attachLoading):not(.green-button) .z-label,
.form-toolbar input[type="button"]:not(.attachLoading):not(.green-button) .z-label,
.zButton:not(.attachLoading):not(.green-button) .z-label,
.z-button:not(.attachLoading):not(.green-button) .z-label,
a.zButton:not(.attachLoading):not(.green-button) .z-label,
a.z-button:not(.attachLoading):not(.green-button) .z-label,
.white-button:not(.attachLoading):not(.green-button) .z-label {
  background: url(../images/view-toolbar-gradient.png) left bottom repeat-x !important;
}
.white-button .z-label {
  color: #666 !important;
  -webkit-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -moz-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -ms-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -o-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  background: url(../images/view-toolbar-gradient.png) left bottom repeat-x !important;
}
.default-btn {
  border-top: 1px solid rgba(200, 200, 200, 0.4);
  border-left: 1px solid rgba(185, 185, 185, 0.4);
  border-right: 1px solid rgba(185, 185, 185, 0.4);
  border-bottom: 1px solid rgba(170, 170, 170, 0.4);
  color: #666 !important;
  -webkit-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -moz-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -ms-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -o-box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  box-shadow: 0 0 9px 5px rgba(153, 153, 153, 0.15);
  -webkit-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -moz-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -ms-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -o-text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0px 1px 0 rgba(255, 255, 255, 0.75) !important;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-indent: 0;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  *zoom: 1;
}
.default-btn:before,
.default-btn:after {
  content: " ";
  display: table;
}
.default-btn:after {
  clear: both;
}
.default-btn.attachLoading.z-button {
  color: #fff;
}
.default-btn:not(.attachLoading):not(.green-button) .z-label {
  background: url(../images/view-toolbar-gradient.png) left bottom repeat-x !important;
}
.z-button.disabled {
  pointer-events: none;
  filter: alpha(opacity=50);
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
  -webkit-filter: grayscale(85%);
  -moz-filter: grayscale(85%);
  -ms-filter: grayscale(85%);
  -o-filter: grayscale(85%);
  filter: grayscale(85%);
  filter: gray;
  /* IE 6-9 */

}
/*
.zButton:not(.attacheLoading),
.z-button:not(.attachLoading){
     background: url(../images/view-toolbar-gradient.png) left bottom repeat-x !important;
}
*/
.green-button,
.attachLoading {
  color: #FFF;
  cursor: pointer;
}
.z-label {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  font-weight: bold;
  padding: 0 25px;
  line-height: 25px;
  display: inline-block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  position: relative;
  white-space: nowrap;
}
.z-label-smaller {
  padding: 0 15px;
}
.zButton.loading .z-spinner,
.z-button.loading .z-spinner {
  display: inline-block;
  position: absolute;
  margin: 1px 0 0 4px;
}
.zButton.loading .z-icon,
.z-button.loading .z-icon {
  display: none;
}
.z-spinner {
  z-index: 10;
  width: 23px;
  height: 23px;
  display: none;
  position: absolute;
  left: 0px;
}
.z-spinner.loading {
  display: block !important;
}
.zLink,
.z-link {
  padding: 2px 4px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  color: #fff !important;
  font-size: 11px;
}
.zLink:hover,
.z-link:hover {
  color: #fff !important;
  text-decoration: underline;
}
.z-action-link {
  font-size: 11px;
  filter: alpha(opacity=50);
  -khtml-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
  text-decoration: none;
}
.z-action-link:hover {
  filter: alpha(opacity=100);
  -khtml-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
  text-decoration: none;
}
.z-action-link-active {
  filter: alpha(opacity=100);
  -khtml-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.unstyle-panel {
  border: none;
  background: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
/*Target only Explorer*/
.form input[type="text"],
.form input[type="password"] {
  height: 26px;
}
/*Top Right Create New Menu*/
#ShortcutsMenu > li > a {
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
/*Calendar with dates*/
.calendar-events-1 span,
.calendar-events-2 span,
.calendar-events-3 span,
.calendar-events-4 span,
.calendar-events-5 span,
.calendar-events-6 span {
  font-size: 38px !important;
  letter-spacing: -25px !important;
}
.calendar-events-1 span:before,
.calendar-events-2 span:before,
.calendar-events-3 span:before,
.calendar-events-4 span:before,
.calendar-events-5 span:before,
.calendar-events-6 span:before {
  top: 10px !important;
}
/* remove label borders in IE6 because IE6 does not support transparency */
* html .ui-multiselect-checkboxes label {
  border: none;
}
/*Dropdowns*/
.hasDropDown span {
  z-index: 0;
}
.hasDropDown select {
  z-index: 5;
  padding-right: 15px;
  background: #ffffff url(../images/dropdown-arrow.png) 100% 0 no-repeat;
}
.add-label {
  display: inline-block;
  position: relative;
  top: -5px;
}
#ActionBarSearchAndListView > div:first-child {
  z-index: 10005;
}
.modal-view-toolbar a,
.modal-view-toolbar input[type="submit"],
.modal-view-toolbar input[type="button"],
.form-toolbar a,
.form-toolbar input[type="submit"],
.form-toolbar input[type="button"] {
  border-top: 1px solid #ebebeb;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #cdcdcd;
  color: #666;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin: 0 10px;
  text-indent: 0;
  display: inline-block;
}
